package cn.zjj.pet.service;

import cn.zjj.basic.service.IBaseService;
import cn.zjj.basic.util.PageList;
import cn.zjj.pet.domain.Pet;
import cn.zjj.pet.domain.SearchMasterMsg;
import cn.zjj.pet.dto.AcceptDto;
import cn.zjj.pet.query.SearchMasterMsgQuery;

import java.util.List;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {


    void publish(SearchMasterMsg searchMasterMsg, Long id);

    /*PageList<SearchMasterMsg> toAuditQuery(SearchMasterMsgQuery query, Long id);*/

    //待处理
    PageList<SearchMasterMsg> tohandleQuery(SearchMasterMsgQuery query, Long id);
    //待审核
    PageList<SearchMasterMsg> toAuditQuery(SearchMasterMsgQuery query, Long id);
    //拒单
    void reject(Long id);
    //接单
    void accept(AcceptDto adto);
}
